Skip to content

Conversation

Saadnajmi
Copy link
Collaborator

@Saadnajmi Saadnajmi commented Jul 26, 2025

Summary:

Two fixes:

  1. After chore: update to nx 21 #2560 , I forgot to update the CI step that reads the nx.json tag. Let's do that, and have it properly fail if it can't find the tag.
    2, Fix nx release publish is confused by react-native-macos's prepublish script. #2580 by calling yarn npm publish directly.
  2. Use console.table() to print the react native artifacts updated in a release. Why? Because it looks cool.

Test Plan:

CI should pass.
Seriously, this looks cool!

 NX   No files would be changed as a result of running versioning

✅ Updated React Native artifacts
┌─────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │ Values                                                                                                           │
├─────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 0       │ 'packages/react-native/ReactAndroid/gradle.properties'                                                           │
│ 1       │ 'packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java' │
│ 2       │ 'packages/react-native/React/Base/RCTVersion.m'                                                                  │
│ 3       │ 'packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h'                                                │
│ 4       │ 'packages/react-native/Libraries/Core/ReactNativeVersion.js'                                                     │
└─────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@Saadnajmi Saadnajmi requested a review from a team as a code owner July 26, 2025 00:26
@Saadnajmi Saadnajmi changed the title ci: update "read publish tag" step ci: nx 21 followup fixes Jul 26, 2025
@Saadnajmi Saadnajmi changed the title ci: nx 21 followup fixes ci: "update to nx 21" followup fixes Jul 26, 2025
@Saadnajmi Saadnajmi merged commit 370a5e1 into microsoft:main Jul 28, 2025
23 checks passed
@Saadnajmi Saadnajmi deleted the tag branch July 28, 2025 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nx release publish is confused by react-native-macos's prepublish script.
2 participants